//
//  TJWBMeNameTableViewCell.m
//  JBWDSK
//
//  Created by 崔志伟 on 2018/7/30.
//  Copyright © 2018年 崔志伟. All rights reserved.
//

#import "TJWBMeNameTableViewCell.h"

@implementation TJWBMeNameTableViewCell
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        self.backgroundColor  = [UIColor clearColor];        
        UILabel *nameLabel = [[UILabel alloc]initWithFrame:CGRectMake(15, 0, 80, 40)];
        nameLabel.textColor = [UIColor whiteColor];
        nameLabel.text= @"昵称";
        [self.contentView addSubview:nameLabel];
        UIButton *comeinBtn = [[UIButton alloc]initWithFrame:CGRectMake(JBW_PERSON_BG_VIEW_WIDTH-JBW_TABBAR_VIEW_WIDTH-60,0, 60, 40)];
        comeinBtn.userInteractionEnabled = NO;
        [comeinBtn setImage:GetImageNamed(@"sdk_login_ic_comein") forState:UIControlStateNormal];
        [self.contentView addSubview:comeinBtn];
        
        UILabel *IdLabel = [[UILabel alloc]initWithFrame:CGRectMake(15, 40, 80, 40)];
        IdLabel.textColor = [UIColor whiteColor];
        IdLabel.text= @"ID";
        [self.contentView addSubview:IdLabel];
        
        UIView *lienView = [[UIView alloc]initWithFrame:CGRectMake(15, 79, JBW_PERSON_BG_VIEW_WIDTH-JBW_TABBAR_VIEW_WIDTH-30, 1)];
        lienView.backgroundColor = [UIColor grayColor];
        [self.contentView addSubview:lienView];
    }
    return self;
}

@end
